Optimal. Leaf size=94 \[ \frac {b e n (f+g x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac {e (f+g x)}{e f-d g}\right )}{g (e f-d g) (1+m) (2+m)}+\frac {(f+g x)^{1+m} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2442, 70}
\begin {gather*} \frac {(f+g x)^{m+1} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (m+1)}+\frac {b e n (f+g x)^{m+2} \, _2F_1\left (1,m+2;m+3;\frac {e (f+g x)}{e f-d g}\right )}{g (m+1) (m+2) (e f-d g)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 70
Rule 2442
Rubi steps
\begin {align*} \int (f+g x)^m \left (a+b \log \left (c (d+e x)^n\right )\right ) \, dx &=\frac {(f+g x)^{1+m} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (1+m)}-\frac {(b e n) \int \frac {(f+g x)^{1+m}}{d+e x} \, dx}{g (1+m)}\\ &=\frac {b e n (f+g x)^{2+m} \, _2F_1\left (1,2+m;3+m;\frac {e (f+g x)}{e f-d g}\right )}{g (e f-d g) (1+m) (2+m)}+\frac {(f+g x)^{1+m} \left (a+b \log \left (c (d+e x)^n\right )\right )}{g (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 81, normalized size = 0.86 \begin {gather*} \frac {(f+g x)^{1+m} \left (a+\frac {b e n (f+g x) \, _2F_1\left (1,2+m;3+m;\frac {e (f+g x)}{e f-d g}\right )}{(e f-d g) (2+m)}+b \log \left (c (d+e x)^n\right )\right )}{g (1+m)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.16, size = 0, normalized size = 0.00 \[\int \left (g x +f \right )^{m} \left (a +b \ln \left (c \left (e x +d \right )^{n}\right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (f+g\,x\right )}^m\,\left (a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________